home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 123
/
(Vol 123) Jan 13 2011.iso
/
Games
/
plumber_2.swf
/
scripts
/
frame_29
/
DoAction_2.as
next >
Wrap
Text File
|
2011-01-13
|
535b
|
31 lines
function resetgame()
{
storage.data.level = 1;
}
function togglemusic()
{
if(music == 0)
{
musicclip.gotoAndStop(1);
music = 1;
soundtrack.start(0,99);
}
else
{
soundtrack.stop();
music = 0;
musicclip.gotoAndStop(2);
}
}
turnsound = new Sound();
turnsound.attachSound("swing");
flow = new Sound();
flow.attachSound("spin");
soundtrack = new Sound();
soundtrack.attachSound("theme");
soundtrack.stop();
if(music == 1)
{
soundtrack.start(0,99);
}